package com.mm.pojo;

import javax.persistence.*;

@Table(name = "department_info")
public class DepartmentInfo {
    /**
     * 部门Id
     */
    @Id
    @Column(name = "depa_id")
    private String depaId;

    /**
     * 部门编号
     */
    @Column(name = "depa_no")
    private String depaNo;

    /**
     * 部门名称
     */
    @Column(name = "depa_name")
    private String depaName;

    /**
     * 部门状态（0-删除，1-存在）
     */
    @Column(name = "depa_status")
    private Integer depaStatus;

    public Integer getDepaStatus() {
        return depaStatus;
    }

    public void setDepaStatus(Integer depaStatus) {
        this.depaStatus = depaStatus;
    }

    /**
     * 获取部门Id
     *
     * @return depa_id - 部门Id
     */
    public String getDepaId() {
        return depaId;
    }

    /**
     * 设置部门Id
     *
     * @param depaId 部门Id
     */
    public void setDepaId(String depaId) {
        this.depaId = depaId;
    }

    /**
     * 获取部门编号
     *
     * @return depa_no - 部门编号
     */
    public String getDepaNo() {
        return depaNo;
    }

    /**
     * 设置部门编号
     *
     * @param depaNo 部门编号
     */
    public void setDepaNo(String depaNo) {
        this.depaNo = depaNo;
    }

    /**
     * 获取部门名称
     *
     * @return depa_name - 部门名称
     */
    public String getDepaName() {
        return depaName;
    }

    /**
     * 设置部门名称
     *
     * @param depaName 部门名称
     */
    public void setDepaName(String depaName) {
        this.depaName = depaName;
    }
}